package com.example.time_bank_demo.service;

import com.example.time_bank_demo.exception.TimeBankException;
import com.example.time_bank_demo.vo.UserVo;

public interface UserService {

    /**
     * 用户登录
     * @param phone 手机号
     * @param code 验证码
     * @return 用户信息
     */
    UserVo login(String phone, String code) throws TimeBankException;
}
